﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IM.Client
{
    internal class LoginController
    {
        /// <summary>
        /// 登陆并且选择培训和角色
        /// </summary>
        /// <returns></returns>
        public static bool LoginIM()
        {
            LoginWindow loginWindow = new LoginWindow();
            if (loginWindow.ShowDialog() != true)
            {
                loginWindow.Close();
                return false;
            }
            loginWindow.Close();
            return true;
        }
    }
}
